$OpenBSD: patch-common_compat_c,v 1.3 2015/05/02 10:25:47 ajacoutot Exp $

https://bugs.freedesktop.org/show_bug.cgi?id=86080

--- common/compat.c.orig	Sat May  2 12:13:40 2015
+++ common/compat.c	Sat May  2 12:15:41 2015
@@ -40,6 +40,11 @@
  */
 #define _XOPEN_SOURCE 700
 
+/*
+ * This is needed to expose issetugid since we define _XOPEN_SOURCE
+ */
+#define _BSD_SOURCE
+
 #include "compat.h"
 
 #include <assert.h>
